package com.sxbbc.common.core.entity.jz;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 活动-每日必逛活动
 * </p>
 *
 * @author leehao
 * @since 2019-05-25
 */
public class ActivityDaily implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 名称
     */
    private String name;

    /**
     * 图片
     */
    private String icon;

    /**
     * 事件见EventEnums枚举类
     */
    private String event;

    /**
     * 地址
     */
    private String url;

    /**
     * 1-5代表不同位置
     */
    private Integer position;

    /**
     * 事件名称
     */
    @TableField(exist = false)
    private String eventName;

    /**
     * 一级分类ID
     */
    @TableField(exist = false)
    private Integer firstClass;

    /**
     * 二级分类ID
     */
    @TableField(exist = false)
    private Integer secondClass;

    /**
     * 二级分类对应的三级分类集合
     */
    @TableField(exist = false)
    private List<ProcThirdClassifyMain> thirdList;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }
    public String getEvent() {
        return event;
    }

    public void setEvent(String event) {
        this.event = event;
    }
    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
    public Integer getPosition() {
        return position;
    }

    public void setPosition(Integer position) {
        this.position = position;
    }

    public String getEventName() {
        return eventName;
    }

    public void setEventName(String eventName) {
        this.eventName = eventName;
    }

    public Integer getFirstClass() {
        return firstClass;
    }

    public void setFirstClass(Integer firstClass) {
        this.firstClass = firstClass;
    }

    public Integer getSecondClass() {
        return secondClass;
    }

    public void setSecondClass(Integer secondClass) {
        this.secondClass = secondClass;
    }

    public List<ProcThirdClassifyMain> getThirdList() {
        return thirdList;
    }

    public void setThirdList(List<ProcThirdClassifyMain> thirdList) {
        this.thirdList = thirdList;
    }

    @Override
    public String toString() {
        return "ActivityDaily{" +
        "id=" + id +
        ", name=" + name +
        ", icon=" + icon +
        ", event=" + event +
        ", url=" + url +
        ", position=" + position +
        "}";
    }
}
